<?php
use think\Route;  
Route::get('/',function(){  
    return 'Hello,这里是奥骞微信api接口!';  
});  
// Route::get('news/:id','index/News/read');
// Route::get('news','index/News/readAll');

Route::get('banner','index/Banner/readAll');

Route::get('course/:id','index/Course/read');
Route::get('course','index/Course/readAll');

Route::post('apply/add','index/Apply/add');
Route::post('message/add','index/Message/add');